package com.example.core.creational.abstractFactory;

public class Test {
    
    public static void main(String[] args) {
        Provider provider = new SendMailFactory();
        Sender sender = provider.produce();
        sender.send();
        Provider provider1 = new SendMailFactory();
        Sender sender1 = provider1.produce();
        sender1.send();
    }
}
